
<%@ page import="mms.RestaurantCompany" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'restaurantCompany.label', default: 'RestaurantCompany')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
        <g:javascript src="restaurantCompany/show.js" />
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.name.label" default="Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "name")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.loginName.label" default="Login Name" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "loginName")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.password.label" default="Password" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "password")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.address.label" default="Address" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "address")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.incorporator.label" default="Incorporator" /></td>
                            
                            <td valign="top" class="value"><g:link controller="person" action="show" id="${restaurantCompanyInstance?.incorporator?.id}">${restaurantCompanyInstance?.incorporator?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.manager.label" default="Manager" /></td>
                            
                            <td valign="top" class="value"><g:link controller="person" action="show" id="${restaurantCompanyInstance?.manager?.id}">${restaurantCompanyInstance?.manager?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.contact.label" default="Contact" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "contact")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.level.label" default="Level" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "level")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.sellOfYear.label" default="Sell Of Year" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "sellOfYear")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.gis.label" default="Gis" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "gis")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.latitude.label" default="Latitude" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "latitude")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.longitude.label" default="Longitude" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "longitude")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.sanitationLicence.label" default="Sanitation Licence" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "sanitationLicence")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.area.label" default="Area" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "area")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.nature.label" default="Nature" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "nature")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.scopeOfBusiness.label" default="Scope Of Business" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "scopeOfBusiness")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.employees.label" default="Employees" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${restaurantCompanyInstance.employees}" var="e">
                                    <li><g:link controller="person" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.history.label" default="History" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "history")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.improper.label" default="Improper" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "improper")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.multimedia.label" default="Multimedia" /></td>
                            
                            <td valign="top" style="text-align: left;" class="value">
                                <ul>
                                <g:each in="${restaurantCompanyInstance.multimedia}" var="m">
                                    <li><g:link controller="multimedia" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="restaurantCompany.sanitationLicenceIssue.label" default="Sanitation Licence Issue" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: restaurantCompanyInstance, field: "sanitationLicenceIssue")}</td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${restaurantCompanyInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
